package org.refresh.core.conf;

import org.refresh.core.expr.Cardinality;

/*******************************************************************************
 * Copyright (c) 2005 Jules White. All rights reserved.
 * This program and the accompanying materials are made available under the
 * terms of the Common Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors: Jules White - initial API and implementation
 ******************************************************************************/
public class InstancesHandler implements ConfigDirectiveHandler {

	public void handle(RefreshProblem problem, String context, String directive, String argstr) {
		Cardinality card = Cardinality.parseCardinality(argstr.trim());
		problem.getSourceMappedInstancesCountMap().put(context,card);
	}

}
